package com.sh.controller;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sh.dao.CskDao;

@RestController
public class CskController {
	@Autowired
	private CskDao cskDao;
	
	 @RequestMapping("/selectAllName")
	 public List<Map<String, Object>> getAllName() {
		 List<Map<String,Object>> getAllName = cskDao.getAllName();
		 return getAllName;
	 }
}
